-- GENERATED SPELL FOR [Highland Razormaw] --


function spell0_1018(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1018', 30299, 1)
end

function Sorts_1018(pUnit, Event)
local choix_sorts_1018 = math.random(0, 0)
if choix_sorts_1018 == 0 then
pUnit:RegisterEvent('spell0_1018', 1, 1)
end
end

function mob1018_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1018', math.random(1500, 3000), 1)
end

function mob1018_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1018_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1018_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1018, 1, 'mob1018_Action')
RegisterUnitEvent(1018, 2, 'mob1018_Leave')
RegisterUnitEvent(1018, 3, 'mob1018_Kill')
RegisterUnitEvent(1018, 4, 'mob1018_Die')
